package com.qinyi.framework.web.service;

import com.qinyi.system.service.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wangan on 2019/6/5
 * @description
 */
@Service("config")
public class ConfigService {

	@Autowired
	private ISysConfigService configService;

	public String getKey(String key) {
		return configService.selectConfigByKey(key);
	}

}
